package com.zeng.service.impl;

import com.zeng.dao.LeagueTableQueryDao;
import com.zeng.service.LeagueTableQueryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

/**
 * 联表查询
 * @author zengfanchao
 * @since 2021-03-17 19:17:07
 */
@Service("LeagueTableQueryService")
public class LeagueTableQueryServiceImpl implements LeagueTableQueryService {
    @Resource
    private LeagueTableQueryDao leagueTableQueryDao;


    @Override
    public List<HashMap<String, Object>> selectUserAudit() {
        return this.leagueTableQueryDao.selectUserAudit();
    }

    @Override
    public List<HashMap<String, Object>> selectCollectionById(Integer cartid) {
        return this.leagueTableQueryDao.selectCollectionById(cartid);
    }

    @Override
    public int queryCountUserAudit() {
        return this.leagueTableQueryDao.queryCountUserAudit();
    }

    @Override
    public int queryCountSelectUserAudit(String key) {
        return this.leagueTableQueryDao.queryCountSelectUserAudit(key);
    }

    @Override
    public List<HashMap<String, Object>> queryAllByLimitUserAudit(int offset, int limit) {
        return this.leagueTableQueryDao.queryAllByLimitUserAudit(offset,limit);
    }

    @Override
    public List<HashMap<String, Object>> queryKeyByLimitUserAudit(String key, int offset, int limit) {
        return this.leagueTableQueryDao.queryKeyByLimitUserAudit(key,offset,limit);
    }
}